package com.example.javapractice.j8;

public class J8Tester {
    public static void main(String[] args) {
        //接口的默认方法:default
        DefaultInterface defaultInterface = new DefaultInterface() {
            @Override
            public void doSomething() {
                hasDo();
            }
        };
    }
}
